﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_logout : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Session["teacherId"] = null;
            Session["lastTime"] = null;
            Session["lastTime"] = null;
            Response.Write("<script language=javascript>alert('成功退出！');top.location.href='../teacher/login.aspx';</script>");
        }
    }
}